package com.umpay.bean;

import com.umpay.utils.StringUtil;

public class ResponseBean {
	
	 public String funCode;
	    public String reqDate;
	    public String reqTime;
	    public String retCode;
	    public String Memo;

	    private final String SUCCESS = "0000";

	    /**
	     * 请求是否成功
	     * @return
	     */
	    public boolean isSuccess() {
	        if (StringUtil.isNotEmpty(retCode)) {
	            if (SUCCESS.equals(retCode)) {
	                return true;
	            }
	        }
	        return false;
	    }

}
